<template>
  <div class="header-nav">
    <div class="left">
         <div class="back" @click="backHandler"><i class="iconfont">&#xe629;</i></div>
    <i class="iconfont">&#xe62b;</i>
     <i class="iconfont">&#xe62d;</i>
    </div>
    <div class="right">
      <img src="@/assets/1.png" alt="">
    </div>
  </div>
</template>
<script>
export default {
  name: 'HeaderNav',
  methods: {
    backHandler () {
      // 编程式导航：实现后退
      this.$router.back()
    }
  }
}
</script>

<style lang="scss" scoped>
@font-face {
  font-family: 'iconfont';  /* project id 1947103 */
  src: url('//at.alicdn.com/t/font_1947103_z8owtvrjhg.eot');
  src: url('//at.alicdn.com/t/font_1947103_z8owtvrjhg.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_1947103_z8owtvrjhg.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_1947103_z8owtvrjhg.woff') format('woff'),
  url('//at.alicdn.com/t/font_1947103_z8owtvrjhg.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_1947103_z8owtvrjhg.svg#iconfont') format('svg');
}
.iconfont{
    font-family:"iconfont" !important;
    font-size:22px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    }
    .header-nav{
      display: flex;
      .left{
        width:120px;
        height: 63px;
        border-right: 1px solid;
        display: flex;
        justify-content: space-around;
        align-items: center;
      }
      .right{
        width: 250px;
        height: 63px;
        display: flex;
        justify-content: center;
        align-items: center;
        img{
          width: 150px;
          height: 28px;
        }
      }
    }
</style>
